package com.community.contents.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 投票标题表
 * </p>
 *
 * @author hjs
 * @since 2023-02-28
 */
@TableName("t_vote_subject")
@ApiModel(value = "VoteSubject对象", description = "投票标题表")
@Data
public class VoteSubjectEntity implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("标题内容")
      private String title;

      @ApiModelProperty("1、单选，2、多选")
      private Integer type;

      @ApiModelProperty("到期时间")
      private LocalDateTime expireTime;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("圈子ID")
      private Integer topicId;

}
